package scm.inventoryControl.managedbean;

import scm.inventoryControl.session.stateless.InventoryControlSessionBean;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import scm.inventoryControl.entity.RawMaterialBatchRecordEntity;

@ManagedBean
@ViewScoped
public class ViewRawMaterialBatchRecordsManagedBean implements Serializable {

    @EJB
    private InventoryControlSessionBean inventorySessionBean;
    
    
    
    
    public ViewRawMaterialBatchRecordsManagedBean() {
    }

        public List<RawMaterialBatchRecordEntity> getRawMaterialRecords() {
          return inventorySessionBean.getAllRawMaterialRecords();
    }

}
